Given that a frame is formatted as follows:
Destination Hardware Address |
Source Hardware Address |
Frame Type |
Frame Data |
6 Bytes |
6 Bytes |
2 Bytes |
46 - 1500 Bytes |
And given that an IP datagram is formatted as follows:
Byte |
0 |
1 |
2 |
3 |
bit |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
0 |
Version |
Header Length |
Type Of Service |
Total Length |
4 |
Identification |
Flags |
Fragment Offset |
8 |
TTL |
Type |
Header Checksum |
12 |
Source IP Address |
16 |
Destination IP Address |
|
IP Options (May Be Omitted) |
Padding |
20 |
IP Payload Data |
And given that a TCP segment is formatted as follows:
Byte |
0 |
1 |
2 |
3 |
bit |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
0 |
TCP Source Port |
TCP Destination Port |
4 |
Sequence Number |
8 |
Acknowledgment Number (If ACK is set) |
12 |
Data Offset |
Reserved |
NS |
CWR |
ECE |
URG |
ACK |
PSH |
RST |
SYN |
FIN |
Window Size |
16 |
Checksum |
Urgent Pointer (If URG is set) |
|
TCP Options (May Be Omitted) |
Padding |
20 |
TCP Payload Data |
And given the following frame with an encapsulated IP datagram and TCP Segment:
30 9C 61 F1 43 47 FB BE AC E0 B5 EF 08 00 45 8D
00 72 FC AE 7D C4 AE 36 C4 92 51 74 40 1F 8C 6F
F5 C9 52 3A 59 34 EF 68 31 AC A5 AE 9A E1 3A 56
04 44 54 7F 00 00 58 74 1F 09 45 45 40 E6 F2 40
10 30 29 65 F0 04 56 81 9F 75 4B CB CB 88 57 3F
8C 4E 8D DA 66 C7 D1 58 B3 87 A6 67 C2 17 88 65
E2 18 6D 6B 1B 15 62 AE CF 6A B8 1E 27 87 FB DF
1B FE CA 47 77 4E 63 3F AC 13 77 2A 86 0C D2 FE
-
What is the TCP source port?
-
What is the TCP destination port?
-
What is the Sequence Number?
-
What is the Acknowledgment Number?
-
What flags are set?
-
What is the Window Size?
-
What is the checksum?
-
What is the urgent pointer?
-
If the TCP header and the IP header include no options or padding, what are the first five
bytes of the TCP segment data?